<template>
  <div class="dashboard-editor-container">
    <el-row style="background:#fff;padding:32px 32px 0;margin-bottom:32px;">
      <el-carousel :interval="4000" indicator-position="outside" height="768px">
        <el-carousel-item v-for="item in items" :key="item">
          <img :src="item" height="100%">
        </el-carousel-item>
      </el-carousel>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'Dashboard',
  data() {
    return {
      items: [
        'http://10.151.91.190:8080/images/d1.jpg',
        'http://10.151.91.190:8080/images/d0.jpg',
        'http://10.151.91.190:8080/images/d2.jpg',
        'http://10.151.91.190:8080/images/d3.jpg',
        'http://10.151.91.190:8080/images/d4.jpg',
        'http://10.151.91.190:8080/images/d5.jpg',
        'http://10.151.91.190:8080/images/d6.jpg',
        'http://10.151.91.190:8080/images/d7.jpg',
        'http://10.151.91.190:8080/images/d8.jpg'
      ]
    }
  },
  created() {}
}
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
.dashboard-editor-container {
  height: 100%;
  background-color: rgb(240, 242, 245);
  .chart-wrapper {
    background: #fff;
    padding: 16px 16px 0;
    margin-bottom: 32px;
  }
}
.el-carousel__item h3 {
  color: #475669;
  font-size: 18px;
  opacity: 0.75;
  line-height: 750px;
  margin: 0;
}

.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n + 1) {
  background-color: #d3dce6;
}
</style>
